//第二层axios封装  账号管理模块,所有用户管理模块的接口 
import request from '@/utils/request.js' //引入增强过后的axios

//首页报表接口
export const totalData = (params) => {
    return request({
        method: 'get',
        url: '/order/totaldata',
        params,
    });
}

//订单报表接口
export const ordertotal = (params) => {
    return request({
        method: 'get',
        url: '/order/ordertotal',
        params,
    });
}

//订单列表接口
export const orderList = (params) => {
    return request({
        method: 'get',
        url: '/order/List',
        params,
    });
}